net/http.CrossOriginProtection.trusted (field)
5 uses
net/http (current package)
csrf.go#L39: trusted map[string]bool
csrf.go#L73: if c.trusted == nil {
csrf.go#L74: c.trusted = make(map[string]bool)
csrf.go#L76: c.trusted[origin] = true
csrf.go#L197: return origin != "" && c.trusted[origin]
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |